package com.zmn.oms.third.dj58.dto;

import com.alibaba.fastjson.annotation.JSONType;
import lombok.Data;

/**
 * @author huangyifeng
 * @Description
 * @date 2020/4/14 10:52
 */
@Data
@JSONType(orders = {"failReason","insureId","money","orderId","orgId","repairId","repairTime","repairType"})
public class DaoJia58UpdateRepairDTO {

    /**
     * 58平台源订单编号
     */
    private Long orderId;

    /**
     * 58保险单号
     */
    private String insureId;

    /**
     * 第三方在58的商家编号（由58提供）
     */
    private Long orgId;

    /**
     * 啄木鸟对应的返修单号
     */
    private String repairId;

    /**
     * 1：成功， 2：失败
     */
    private Integer repairType;

    /**
     * 维修时间
     */
    private Long repairTime;

    /**
     * 失败原因，repairType为2时必填
     */
    private String failReason;

    /**
     * 维修费用，repairType为1时必填
     * 保留两位小数
     */
    private String money;
}
